#! /usr/bin/python

import os
c = os.popen("cat /etc/passwd").readlines()
for i in c:
    if 500 < int(i.split(":")[2]) < 2000:
        print("%s uid is %s"%(i.split(":")[0],i.split(":")[2]))
